package com.wiretap.service;

import com.wiretap.po.Message;
import com.wiretap.util.Pager;

public interface MessageService {
	Pager<Message> getMessageByOwner(String phone, int currentPage, int pageSize)
			throws Exception;

	void addMessage(Message message) throws Exception;

	boolean deleteMessage(String[] ids) throws Exception;
	
	long getMessageCountByPhone(String phone) throws Exception;
}
